package com.edu.entity;
  //用户实体类1
public class Users {
	
	private int userId;
	private String  userAccount;
	private String  userPwd;
	private String  userImg;
	private int userScore;
	private int userStatus;
	private Admins admin;
	private String  userName;
	private long userPhone;
	private String userMail;
	private String userDate;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserAccount() {
		return userAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public int getUserScore() {
		return userScore;
	}
	public void setUserScore(int userScore) {
		this.userScore = userScore;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public Admins getAdmin() {
		return admin;
	}
	public void setAdmin(Admins admin) {
		this.admin = admin;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public long getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(long userPhone) {
		this.userPhone = userPhone;
	}
	public String getUserMail() {
		return userMail;
	}
	public void setUserMail(String userMail) {
		this.userMail = userMail;
	}
	public String getUserDate() {
		return userDate;
	}
	public void setUserDate(String userDate) {
		this.userDate = userDate;
	}
	public Users(int userId, String userAccount, String userPwd, String userImg, int userScore, int userStatus,
			Admins admin, String userName, long userPhone, String userMail, String userDate) {
		super();
		this.userId = userId;
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userScore = userScore;
		this.userStatus = userStatus;
		this.admin = admin;
		this.userName = userName;
		this.userPhone = userPhone;
		this.userMail = userMail;
		this.userDate = userDate;
	}
	public Users(String userAccount, String userPwd) {
		super();
		this.userAccount = userAccount;
		this.userPwd = userPwd;
	}
	
	
	public Users(String userAccount, String userPwd, String userImg, int userScore, int userStatus, Admins admin,
			String userName, long userPhone, String userMail, String userDate) {
		super();
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userScore = userScore;
		this.userStatus = userStatus;
		this.admin = admin;
		this.userName = userName;
		this.userPhone = userPhone;
		this.userMail = userMail;
		this.userDate = userDate;
	}
	
	public Users(String userAccount) {
		super();
		this.userAccount = userAccount;
	}
	

	public Users(int userId, String userAccount, String userPwd, String userImg, int userScore, int userStatus,
			String userName, long userPhone, String userMail, String userDate) {
		super();
		this.userId = userId;
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userScore = userScore;
		this.userStatus = userStatus;
		this.userName = userName;
		this.userPhone = userPhone;
		this.userMail = userMail;
		this.userDate = userDate;
	}

	public Users(int userId, String userAccount, String userPwd, String userImg, int userScore, int userStatus, String userDate) {
		super();
		this.userId = userId;
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userScore = userScore;
		this.userStatus = userStatus;
		this.userDate = userDate;
	
	}
	public Users() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Users [userId=" + userId + ", userAccount=" + userAccount + ", userPwd=" + userPwd + ", userImg="
				+ userImg + ", userScore=" + userScore + ", userStatus=" + userStatus + ", admin=" + admin.getAdminAccount()
				+ ", userName=" + userName + ", userPhone=" + userPhone + ", userMail=" + userMail + ", userDate="
				+ userDate + "]";
	}
	public Users(String userAccount, String userPwd, String userImg, int userScore, int userStatus, String userDate) {
		super();
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userScore = userScore;
		this.userStatus = userStatus;
		this.userDate = userDate;
	
	}
	public Users(String userAccount, String userPwd, String userImg, String userName, long userPhone, String userMail) {
		super();
		this.userAccount = userAccount;
		this.userPwd = userPwd;
		this.userImg = userImg;
		this.userName = userName;
		this.userPhone = userPhone;
		this.userMail = userMail;
	}
}
